export interface ResponseData {
    code: number | string,
    msg: string,
    result: number
}
// 获取扶贫信息接口 携带参数 的ts数据类型
export interface helpPoorData {
    currentPage: number,
    keyword?: string,
    pageSize: number,
    status?: number,
    type: number | string
}
// 点赞政策人的信息 ts数据类型
export interface collectUser {
    userId: number | string,
    username: string,
    avatarUrl: string
}
// 一条扶贫信息的ts数据类型·
export interface helpPoor {
    id: number | string,
    title: string,
    content: string,
    createdDt: string,
    collectUserList: collectUser[]
}
// 全部扶贫信息的ts数据类型
export type AllHelpPoor = helpPoor[]
// 扶贫接口 返回数据的ts数据类型
export interface helpPoorResponseData extends ResponseData {
    data: {
        pageSize: number,
        currentPage: number,
        totalPage: number,
        totals: number,
        list: AllHelpPoor
    }
}

// 新增扶贫信息接口 携带参数的ts数据类型
export interface operateHelpPoorData {
    content: string,
    createdBy?: string,
    createdDt?: string,
    deleted?: number,
    id?: number | string,
    title: string,
    type: number | string,
    updatedBy?: string,
    updatedDt?: string
}